package cn.tedu.project.oa.assetRequisition.mapper;

import cn.tedu.project.oa.assetRequisition.pojo.dto.AssetRequisitionQuery;
import cn.tedu.project.oa.assetRequisition.pojo.dto.AssetRequisitionSaveParam;
import cn.tedu.project.oa.assetRequisition.pojo.entity.AssetRequisition;
import cn.tedu.project.oa.assetRequisition.pojo.vo.AssetRequisitionVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AssetRequisitionMapper {
    void insert(AssetRequisition assetRequisition);

    void update(AssetRequisition assetRequisition);

    List<AssetRequisitionVO> selectList(AssetRequisitionQuery assetRequisitionQuery);

    void deleteById(Long id);

    void updateStatusById(AssetRequisitionSaveParam assetRequisitionSaveParam);
}
